import service from '../utils/request'
//1.查看轮播图数据
export function banner_list( payload = {} ){
    return service.get( '/banner/list', {params:payload} )
}
//2.访问状态更新
export function banner_updateFlag( payload = {} ){
    return service.post( '/banner/updateFlag', payload)
}
//3.插入轮播图数据
export function banner_add( payload = {} ){
    return service.post( '/banner/add', payload)
}
//4.删除单条轮播图数据
export function banner_delete( payload = {} ){
    return service.get( '/banner/delete',{params:payload})
}
//5.删除全部轮播图数据
export function banner_removeAll( payload = {} ){
    return service.get( '/banner/removeAll', {params:payload})
}